STATIC_ARGS:=-DSTATIC -static
DYNAMIC_ARGS:=-fPIC -DDYNAMIC -Wl,-Ttext-segment=0x100000 -L. -Wl,-rpath=.
SO_ARGS:=-DDYNAMIC -fPIC -shared -L.

DYN_LDR:=$(TOOLCHAIN_PATH)/arm-nacl/lib/runnable-ld.so

include $(SRC_ROOT)/../tests/test.mk

$(eval $(call BUILD_BOTH,hello.c))
$(eval $(call BUILD_BOTH,basic_cpp.cpp,,,1 2 3 4))
$(eval $(call BUILD_BOTH,file_io.c))
$(eval $(call BUILD_DYNAMIC,set_irt_ptrs.c, -ldl))

